package com.surpermaket.mapper;

import com.surpermaket.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public User login(@Param("username") String username, @Param("password") String password);

    public int regist(@Param("username") String username, @Param("password") String password);

    public  List<User> selectAll(User user);
    int insert(User user);

}
